//
//  PatientService.h
//  Nurse
//
//  Created by 夏 申频 on 14-1-5.
//  Copyright (c) 2014年 Honeywell. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataEngine.h"
@interface OrdersService : NSObject
+(OrdersService*) sharedInstance;

//@property (nonatomic,strong) NSDictionary* currentPatient;
-(NSMutableArray*)processTasksData:(NSMutableArray*)rawData;
-(void)queryOrdersForPatient:(NSString*)PatientID withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;
-(void)queryDutiesForPatient:(NSString*)patientID withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;
-(void)queryDutiesForBq:(NSString*)patientID withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;
-(void)executeDutyForID:(NSString*)dutyID withStatus:(NSString*)status withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;

-(void)queryOrdersForJQ:(NSString*)Rq withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;

@end
